export const statusList: any[] = [
	{
		title: '全部',
		count: 0,
		field: 'total',
		value: ''
	},
	{
		title: '待确认',
		count: 0,
		field: 'unconfirmed',
		value: 6
	},
	{
		title: '待支付',
		count: 0,
		field: 'noPay',
		value: 1
	},
	{
		title: '已拒绝',
		count: 0,
		field: 'reject',
		value: 7
	},
	{
		title: '待签约',
		count: 0,
		field: 'wait',
		value: 2
	},
	{
		title: '已签约',
		count: 0,
		field: 'already',
		value: 3
	},
	{
		title: '已罚没',
		count: 0,
		field: 'confiscate',
		value: 9
	},
	{
		title: '已退定',
		count: 0,
		field: 'cancel',
		value: 4
	},
	{
		title: '已作废',
		count: 0,
		field: 'obsolete',
		value: 5
	},
	{
		title: '已转移',
		count: 0,
		field: 'transfer',
		value: 8
	}
]
export const labelStatus: {
	[key: string | number]: any
} = {
	1: {
		name: '待支付',
		color: 'warning',
		detailTab: ['预定详情', '操作记录'],
		operation: [
			{
				name: '提醒付款',
				field: 'showRemindPay',
				sort: 1,
				type: 'primary',
				action: ['mk_contract_reserve_txfk']
			},
			{
				name: '作废预定',
				field: 'showToVoid',
				sort: 0,
				type: 'default',
				action: ['mk_contract_reserve_zf']
			}
		]
	},
	2: {
		name: '待签约',
		color: 'processing',
		detailTab: ['预定详情', '操作记录'],
		operation: [
			{
				name: '签约',
				field: 'showSignContract',
				sort: 2,
				type: 'primary',
				action: ['mk_contract_tenant_tjzkht']
			},
			{
				name: '租客退定',
				field: 'showRetreat',
				sort: 0,
				type: 'danger',
				action: ['mk_contract_reserve_td']
			},
			{
				name: '预定变更',
				field: 'showDepositTransfer',
				sort: 1,
				type: 'default',
				action: ['mk_contract_reserve_djzy']
			},
			{
				name: '定金罚没',
				field: 'depositConfiscation',
				sort: 3,
				type: 'default',
				action: ['mk_contract_reserve_djfm']
			}
		]
	},
	3: {
		name: '已签约',
		color: 'success',
		detailTab: ['预定详情', '操作记录'],
		operation: [
			{
				name: '查看合同',
				field: 'showSeeContract',
				sort: 0,
				type: 'primary',
				action: ['mk_contract']
			}
		]
	},
	4: {
		name: '已退定',
		color: 'default',
		detailTab: ['预定详情', '操作记录'],
		operation: []
	},
	5: {
		name: '已作废',
		color: 'default',
		detailTab: ['预定详情', '操作记录'],
		operation: []
	},
	6: {
		name: '待确认',
		color: 'warning',
		detailTab: ['预定详情'],
		operation: [
			{
				name: '接受预定',
				field: 'showAcceptReserve',
				sort: 1,
				type: 'primary',
				action: ['mk_contract_reserve_jsyd']
			},
			{
				name: '拒绝预定',
				field: 'showRefuseReserve',
				sort: 0,
				type: 'danger',
				action: ['mk_contract_reserve_qxyd']
			}
		]
	},
	7: {
		name: '已拒绝',
		color: 'error',
		detailTab: ['预定详情', '操作记录'],
		operation: []
	},
	8: {
		name: '已转移',
		color: 'cyan',
		detailTab: ['预定详情', '操作记录'],
		operation: []
	},
	9: {
		name: '已罚没',
		color: 'error',
		detailTab: ['预定详情', '操作记录'],
		operation: []
	}
}
